Shape View
Constructor for inflating from XML. Not typically used for dynamic content generation via Module but provided for androidx.appcompat.widget.AppCompatImageView compatibility.
Parameters
The Context the view is running in, through which it can access the current theme, resources, etc.
The attributes of the XML tag that is inflating the view.
Constructor for inflating from XML with a default style. Not typically used for dynamic content generation via Module but provided for androidx.appcompat.widget.AppCompatImageView compatibility.
Parameters
The Context the view is running in.
The attributes of the XML tag that is inflating the view.
An attribute in the current theme that contains a reference to a style resource that supplies default values for the view. Can be 0 to not look for defaults.
Constructs a new ShapeView programmatically.
Parameters
The Context the view is running in.
The Module data that defines the configuration for this shape, including type, colors, dimensions, and other styling options. Must not be null.
Throws
if module
is null, as it's essential for configuring the shape.